修改带宽占用比:
- R1(config)# interface s0/0
- R1(config-if)# bandwidth 128 //注意,这里的单位是KB/s
- R1(config-if)# ip bandwidth-percent eigrp 100 40 //修改EIGRP 路由信息占用带宽的百分比为40
- R1(config-if)# end
- R2(config)# interface s0/0
- R2(config-if)# bandwidth 64 //注意,这里的单位是KB/s
- R2(config-if)# end
- R3(config)# interface s0/0
- R3(config-if)# bandwidth 64 //注意,这里的单位是KB/s
- R3(config-if)# end
- R1#show interfaces serial 0/0 | include BW
- MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
点对点子接口方式:
- R1(config)#default interface Serial 0/0 //将接口的配置还原为默认值
- Building configuration…
- Interface Serial0/0 set to default configuration
- R1(config)#
- *Mar 1 01:45:30.363: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.3 (Serial0/0) is resync: split horizon changed
- *Mar 1 01:45:30.367: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial0/0) is resync: split horizon changed
- *Mar 1 01:45:30.779: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.3 (Serial0/0) is down: interface down
- *Mar 1 01:45:30.787: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial0/0) is down: interface down
- *Mar 1 01:45:31.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
- *Mar 1 01:45:33.499: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
- R1(config)#interface Serial 0/0
- R1(config-if)#encapsulation fram //封装为帧中继模式
- R1(config-if)#no fram inv //关闭自动获取
- R1(config-if)#no sh
- R1(config-if)#ip split eigrp 100 //打开水平分割
- R1(config-if)#int s0/0.1 point //设置点对点子接口
- R1(config-subif)#ip add 192.168.1.1 255.255.255.252
- R1(config-subif)#fram interface-dlci 102 //指定接口DLCI 号
- R1(config-fr-dlci)#int s0/0.2 point //配置R1 和R3 之间的子接口
- R1(config-subif)#ip add 192.168.1.5 255.255.255.252
- R1(config-subif)#fram interface-dlci 103
- *Mar 1 01:47:05.767: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial0/0.1) is up: new adjacency
- *Mar 1 01:47:06.651: IP-EIGRP(Default-IP-Routing-Table:100): Neighbor 192.168.1.3 not on common subnet for Serial0/0.2
- R1(config-fr-dlci)#end
- R2(config)#int s0/0
- R2(config-if)#ip add 192.168.1.2 255.255.255.252
- R3(config)#int s0/0
- R3(config-if)#ip add 192.168.1.6 255.255.255.252
- *Mar 1 01:47:51.331: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.5 (Serial0/0) is down: address changed
- *Mar 1 01:47:51.343: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.1 (Serial0/0) is down: address changed
- *Mar 1 01:47:52.463: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.5 (Serial0/0) is up: new adjacency
- R3(config-if)#no frame-relay map ip 192.168.1.1 301 broadcas //将之前配置的取消
- R3(config-if)#fram map ip 192.168.1.5 301 br
- R1#show ip eigrp neighbors
- IP-EIGRP neighbors for process 100
- H Address Interface Hold Uptime SRTT RTO Q Seq
- (sec) (ms) Cnt Num
- 1 192.168.1.6 Se0/0.2 173 00:06:53 117 1053 0 15
- 0 192.168.1.2 Se0/0.1 135 00:07:12 1055 5000 0 16
- R3#ping 10.1.1.1
- Type escape sequence to abort.
- Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
- !!!!!
- Success rate is 100 percent (5/5), round-trip min/avg/max = 20/89/180 ms